package cn.jinjie.day03.test9;

public class UITeacher extends Worker implements Draw{
    @Override
    public void work() {
        System.out.println("UI老师在讲课");
    }

    @Override
    public void drawing() {
        System.out.println("UI老师在画图");
    }
}
class Test01{
    public static void main(String[] args) {
        UITeacher u = new UITeacher();
        u.work();
        u.drawing();
        JavaTeacher j = new JavaTeacher();
        j.setName("李昌奎");
        j.work();

    }
}
